package vip.sweet.biz.modular.user.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import vip.sweet.biz.modular.user.enums.BizUserRoleType;
import vip.sweet.biz.modular.user.enums.BizUserStatus;

import java.sql.Date;

/**
 * @author ASUS
 * @Date 2025/10/5 12:23
 * @Descripition
 */
@Data
@AllArgsConstructor
@Schema(description = "业务逻辑用户添加参数类")
@Builder
public class BizUserAddParams {
    @NotBlank(message = "用户名不能为空")
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "邮箱")
    private String email;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "昵称")
    private String nickname;
    @Schema(description = "真实姓名")
    private String realName;
    @Schema(description = "性别")
    private String gender;
    @Schema(description = "生日")
    private Date birthday;
    @Schema(description = "角色")
    private BizUserRoleType role;
    @Schema(description = "注册时间")
    private Date registrationDate;
    @Schema(description = "最后登录时间")
    private Date lastLoginDate;
    @Schema(description = "积分")
    private Integer points;
    @Schema(description = "等级")
    private Integer level;
    @Schema(description = "状态")
    private BizUserStatus status;
}
